import request from "@/utils/request";

//添加或者编辑证书
export function AddOrUpdateCertificate(data) {
  return request({
    url: "api/Certificate/AddOrUpdateCertificate",
    method: "post",
    data,
  });
}
//删除证书
export function DelCertificate(data) {
  return request({
    url: "api/Certificate/DelCertificate",
    method: "post",
    data,
  });
}
//获取证书列表
export function GetCertificateList_Page(data) {
  return request({
    url: "api/Certificate/GetCertificateList_Page",
    method: "post",
    data,
  });
}
//证书详情
export function GetCertificateDetail(data) {
  return request({
    url: "api/Certificate/GetCertificateDetail",
    method: "post",
    data,
  });
}

//添加或者修改 考试记录
export function AddOrUpdateExam(data) {
  return request({
    url: "api/Certificate/AddOrUpdateExam",
    method: "post",
    data,
  });
}


//考试列表
export function GetExamList_Page(data) {
  return request({
    url: "api/Certificate/GetExamList_Page",
    method: "post",
    data,
  });
}


//考试详情
export function GetExamDetail(data) {
  return request({
    url: "api/Certificate/GetExamDetail",
    method: "post",
    data,
  });
}

